package com.ym.medical.dao;

import com.ym.medical.domain.entity.InviteFriendMiddleEntity;
import com.ym.medical.domain.param.InviteFriendMiddleParam;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 邀请朋友中间表Dao接口
 *
 * @author ym
 * @date 2020-08-24
 */
@Repository
public interface InviteFriendMiddleDao extends Mapper<InviteFriendMiddleEntity> {

	/**
	 * 邀请记录
	 * @param model
	 * @return
	 */
	List<InviteFriendMiddleEntity> listInvite(InviteFriendMiddleParam model);
}
